package com.ycky.iot.api.device.dto.control.upstream;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * IoT 设备【属性】上报 Request DTO
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class IotDevicePropertyReportReqDTO extends IotDeviceUpstreamAbstractReqDTO {

    /**
     * 属性参数
     */
    @NotEmpty(message = "属性参数不能为空")
    private Map<String, Object> properties;

}